package com.example.spring_demo.ioc.v3;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @className: Bottom
 * @author: 芃
 * @description:
 * @date: 2024/12/23 11:43
 */
@Component
public class Bottom {

    @Autowired
    private Tire tire;

    public Bottom(Tire tire) {
        this.tire = tire;
        System.out.println("Bottom created");
    }
}
